package org.java.inner;

public class OuterClass {
	
	 class Contents{
		
		private int i = 11;
		
		public int value(){return i;}
	}
	
	 class Destination{
		private String label;
		
		Destination(String whereTo) {
			label = whereTo;
		}
		
		String readLabel(){ return label;};
		
	}
	
	public void ship(String dest){
		Contents c = new Contents();
		Destination d = new Destination(dest);
		System.out.println(d.readLabel());
	}

	/**
	 * @param args
	 */
	public static void main(String[] args) {
         OuterClass outerClass = new OuterClass();
         outerClass.ship("Tanzania");
	}

}
